#ifndef AT24C02_H
#define AT24C02_H

#include "main.h"
#include "myiic.h"

#define W_ADDER 0xA0
#define R_ADDER 0xA1


int8_t AT24C02_Write_Byte(uint8_t add , uint8_t byte);
int8_t AT24C02_Write_Page(uint8_t add , uint8_t * txbuf);
int8_t AT24C02_Read(uint8_t add ,uint8_t * rxbuf,uint16_t len);

#endif
